<template>
  <div class="tmpbymonth">
    <div class="title">月度温度统计</div>
    <div class="charts">
      <lineEchart :option="data" />
    </div>
  </div>
</template>

<script setup>
import lineEchart from "@/components/echart/utils/tmp-line-echart.vue";

const props = defineProps({
  data: {
    type: Object,
  },
});
</script>

<style lang="less" scoped>
.tmpbymonth {
  border-radius: 16px;
  background-color: #f7f8f9;
  border: 1px solid #f2f4fa;
  padding: 30px 16px 20px;
  margin-bottom: 16px;
  .title {
    font-size: 20px;
    font-weight: 500;
    line-height: 22px;
    text-align: center;
    margin-bottom: 20px;
  }
  .charts {
    margin: 0 auto;
    max-width: 1120px;
  }
}
</style>